package cn.bugstack.api;

import cn.bugstack.api.response.Response;
import org.springframework.ai.chat.ChatResponse;
import org.springframework.web.bind.annotation.RequestParam;
import reactor.core.publisher.Flux;

/**
 * @Description: ai接口
 * @ClassName: IAiService
 * @Author: zhaiyongxin
 * @Date: 2025/7/7 16:29
 * @Version: 1.0
 */
public interface IAiService {
    ChatResponse generate(String model, String message);

    Flux<ChatResponse> generateStream(String model, String message);

    Flux<ChatResponse> generateStreamByRag(String model, String message, String ragTag);
}
